package com.example.hello.entity;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.util.Date;

@Data
public class User {
  private Long userId;
  private String username;
  @JsonIgnore
  private String password;
  private String email;
  private String phone;
  private String avatar;
  private Integer gender;
  private Integer status;
  private String role;
  private Date createdAt;
  private Date lastLogin;
  @JsonIgnore
  private String verificationCode;
  private String nickname;
  private Date birthday;
  private String location;
  private String bio;
}